package main

import (
	"fmt"
	"gitee.com/tietang/terrace-go/v2/base"
	"reflect"
)

func main() {
	s := &base.HookStarter{}
	//v := reflect.ValueOf(s)
	//v =reflect.Indirect(v)
	//fmt.Println(v.Kind())
	//fmt.Println(v.Kind().String())
	//fmt.Println(v.Type().Name())
	//fmt.Println(v.Type().Kind())
	//fmt.Println(v.Type().String())
	typ := reflect.TypeOf(s)
	fmt.Println(typ.Elem().String())
	fmt.Println(typ.Kind())
}
